package com.lovo.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lovo.system.dto.StockDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StockMapper extends BaseMapper<StockDto> {

    void addStockNumber(@Param("code") String code,@Param("number") int number);

    void reduceStockNumber(@Param("name") String name,@Param("number") int number);

}
